import os

import pytest
from tools.comment import *

if __name__ == '__main__':
    #执行case用例

    #ppppppppppppppppppppp

    # asd
    # uuuuuuu

    pytest.main(['./case/test_weidu_login.py','-s','--alluredir','./allure-results','--clean-alluredir'])
    os.system(f'allure generate allure-results -o allure-report --clean')
    get_email(['./allure-report/index.html','./logs/pytest.log'])